import os

# 原始文件路径
docx_path = "D:\hbyt\AI智能投标\2025_04_23_Word\2025_04_23_Word\Word\1.0\中文\EHS相关\EHS保障体系_v1.0_2211.docx"

# 提取文件名（不带扩展名）
filename = os.path.splitext(os.path.basename(docx_path))[0]

# 要拼接的目标文件夹
output_md = os.path.join(r"D:\hbyt\AI智能投标\markdown_output", filename,f"{filename}.md")
enhanced_md = os.path.join(r"D:\hbyt\AI智能投标\markdown_output", f"{filename}_enhanced.md")
media_folder = os.path.join(r"D:\hbyt\AI智能投标\markdown_output\media", filename)
tables_folder = os.path.join(r"D:\hbyt\AI智能投标\markdown_output\tables", filename)

# 输出结果
print("output_md:", output_md)
print("enhanced_md:", enhanced_md)
print("media_folder:", media_folder)
print("tables_folder:", tables_folder)
